/*
 * Copyright (c) 2016 zhangcm. All Rights Reserved.
 */
package com.jnzc.ocr.serv.shop.service;

import com.jnzc.ocr.common.bean.PageResult;
import com.jnzc.ocr.dependencies.serv.mybatis.MybatisService;
import com.jnzc.ocr.serv.shop.entity.ShopMarketingRule;
import com.jnzc.ocr.serv.shop.filter.ShopMarketingRuleFilter;

import java.util.List;
import java.util.Map;

/**
 * @author zhangcm
 * @version 1.0, 2017/9/13
 */
public interface ShopMarketingRuleService extends MybatisService<ShopMarketingRule, ShopMarketingRuleFilter> {

    ShopMarketingRule find(Long id, Long shopId);

    List<ShopMarketingRule> list(List<Integer> marketingTypeList, Long shopId);

    Map<Integer, List<ShopMarketingRule>> listMap(List<Integer> marketingTypeList, Long shopId);

    void delete(Long id);
}
